package com.ruoyi.test.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测试用户s对象 test_users
 *
 * @author lidelong
 * @date 2023-05-17
 */
public class Users extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 密码 */
    @Excel(name = "密码")
    private String pwd;

    /** 性别 */
    @Excel(name = "性别")
    private Long sex;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private Long tel;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPwd(String pwd)
    {
        this.pwd = pwd;
    }

    public String getPwd()
    {
        return pwd;
    }
    public void setSex(Long sex)
    {
        this.sex = sex;
    }

    public Long getSex()
    {
        return sex;
    }
    public void setTel(Long tel)
    {
        this.tel = tel;
    }

    public Long getTel()
    {
        return tel;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("pwd", getPwd())
                .append("sex", getSex())
                .append("createTime", getCreateTime())
                .append("tel", getTel())
                .append("deptId", getDeptId())
                .toString();
    }
}
